package org.halk.repository;

import org.halk.model.TxtFile;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 用户持久层
 * </p>
 *
 * @author yangkai.shen
 * @date Created in 2018-12-20 19:00
 */
public interface TxtFileRepository extends ElasticsearchRepository<TxtFile, String> {

    List<TxtFile> findByLineNumberIn(List<Integer> lineNumbers);
}
